import request from '@/utils/request'

// 查询会议室列表
export function listOaMeetingRoom(query) {
  return request({
    url: '/meeting/oaMeetingRoom/list',
    method: 'get',
    params: query
  })
}

// 查询会议室详细
export function getOaMeetingRoom(id) {
  return request({
    url: '/meeting/oaMeetingRoom/' + id,
    method: 'get'
  })
}

// 保存会议室
export function saveOaMeetingRoom(data) {
  return request({
    url: '/meeting/oaMeetingRoom/save',
    method: 'post',
    data: data
  })
}

// 删除会议室
export function delOaMeetingRoom(id) {
  return request({
    url: '/meeting/oaMeetingRoom/' + id,
    method: 'delete'
  })
}

// 导出会议室
export function exportOaMeetingRoom(query) {
  return request({
    url: '/meeting/oaMeetingRoom/export',
    method: 'get',
    params: query
  })
}
